const state = {
  video: {
    query: true,
    windsNum: 9,
    time: 60
  }
}

const getters = {
  getVideo: state => {
    return state.video
  }
}

const mutations = {
  editVideo (state, payload) {
    state.video = {...state.video, ...payload}
  }
}

export default {
  state,
  getters,
  mutations
}
